body {
    font-family: 'Noto Sans SC', 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-bottom: 30px;
}

.bg-gradient {
    background: linear-gradient(135deg, #2c3e50, #3498db, #2980b9);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    width: 60px;
    height: 60px;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo:hover {
    transform: scale(1.1);
}

.app-title {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    /* 优雅的蓝色 */
    color: #2c3e50;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.app-title::before {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.6;
    box-shadow: 0 0 15px rgba(0,0,0,0.2) inset;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    background-color: #f1f5f9;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #3a5a78;
}

.card-body {
    padding: 20px;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.input-group-text {
    background-color: #e9ecef;
    border-color: #dee2e6;
    font-weight: 500;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control {
    padding: 10px 15px;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
}

.form-control-color {
    width: 70px;
    height: 38px;
}

.form-range {
    height: 38px;
    padding: 0 15px;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 结果页面样式 */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

footer {
    border-top: 1px solid #eaeaea;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .app-title {
        font-size: 1.7rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .card-header {
        font-size: 1rem;
    }
}